ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / FlexGridBase<T> Class / AllowAddNew Property






In This Topic
    AllowAddNew Property (FlexGridBase<T>)
    In This Topic
    Gets or sets a value that indicates whether the grid should provide a new row template so users can add items to the source collection.
    Syntax
    'Declaration
     
    
    <JsonAttribute(1)>
    Public Overridable Property AllowAddNew As System.Boolean
    'Usage
     
    
    Dim instance As FlexGridBase(Of T)
    Dim value As System.Boolean
     
    instance.AllowAddNew = value
     
    value = instance.AllowAddNew
    [Json(1)]
    public virtual System.bool AllowAddNew {get; set;}
    public read-write property AllowAddNew: System.Boolean; virtual; 
    JsonAttribute(1)
    public function get,set AllowAddNew : System.boolean
    [Json(1)]
    public: __property virtual System.bool get_AllowAddNew();
    public: __property virtual void set_AllowAddNew( 
       System.bool value
    );
    [Json(1)]
    public:
    virtual property System.bool AllowAddNew {
       System.bool get();
       void set (    System.bool value);
    }
    Remarks
    The new row template will not be displayed if the IsReadOnly property
    See Also